import request from '@/utils/request'

//获取小程序授权(获取openid)
export function getOpenid(data, option) {
	return request.post('/api/wechatmini/getOpenid', data, option)
}

// 微信小程序快捷登录(授权手机号)
export function getPhone(data, option) {
	return request.post('/api/wechatmini/getPhone', data, option)
}
